Labels:text | screenshot | font | number OCR: handleShutdown |Called when the OS is attempting to shut down or restant the entire sys- fem, Threads running as a part of this service should be stopped in this function. This function should return true if successful. tandleStop Called when the user requests to stop a service that's been started. Threads running as a part of this service should be stopped in this function. This func- hon should return true if successful. handlePause Called when the user requests to pause a service that's been started. The implementation of this function should return false if successful, and include a call to the setPaused function. handle Continue Called when the user requests to continue a service that has been paused. The implementation of this furiction should return false if suc- cessful, and include a call to the setRunning function, Figure 2: com.ms.service.Service class functions